package dfl.bysj.service;

import dfl.bysj.entity.Seat;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author DFL
 * @since 2022-04-26
 */
public interface SeatService extends IService<Seat> {

    List<Seat> getAllSeats();


    Integer getSeatCount();

    @Transactional
    List getSeatByFloId(Integer floId);


    Seat getSeaNumBySeaId(Integer seaId);


    void updateSeatPic(Integer seaId, String fileID);
}
